<?php

class tplFormanswerguest extends StudyBuddy\Template\Template {

    protected static $vars = array(
        'token' => '', //1
        'required' => 'required', //2
        'qbody' => '', //3
        'qbody_e' => '', //4
        'submit' => 'Submit answer', //5
        'com_hand' => '', // 6
        'readonly' => '', // 7
        'disabled' => '', // 8
        'connectBlock' => '', // 9
        'formError' => '', // 10
        'title' => 'Answer this question', //11
        'qid' => '', //12
        'socials' => '', //13
        'preview' => 'Preview' //14
    );
    protected static $tpl = '
	<div style="margin-top: 10px; margin-left: 29px; float: left;font-size: 12pt;font-weight: bold;">Answer this question</div>
	<div id="answer_form" class="form_wrap" style="margin-left:29px; width:594px; overflow:hidden">
	<div class="form_error">%10$s</div>
		<form class="qa_form" name="ansForm" method="POST" action="/index.php" accept-charset="utf-8">
		<input type="hidden" name="a" value="answer">
		<input type="hidden" name="qid" value="%12$s">	
		<input type="hidden" name="token" value="%1$s">
		%9$s
            <div class="form_el"> 
                <textarea id="id_qbody" rows="10" cols="40" class="com_body%6$s" name="qbody" %7$s>%3$s</textarea><br>
                <span class="f_err">%4$s</span>
                <!-- <div id="body_preview"></div>
                <span class="label">%14$s</span>
                <div id="tmp_preview"></div> -->
            </div>
            <!-- // el body -->
            <div class="fl cb socials">
				%13$s
            </div>
            <div class="form_el" style="margin-top:0">
            	<input id="dostuff" name="submit" type="submit" value="%5$s" %8$s class="btn btn-m"> 
            </div>
            <!-- // el submit -->
		</form>
	</div>';

}